using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN XepLoaiTongKetEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: XepLoaiTongKetEntity</para>
	/// <para>Description: ClassXepLoaiTongKetEntity store data of table XepLoaiTongKet</para>
	///</summary>

	[DataContract]
	public partial class XepLoaiTongKetEntity{


		private bool _InternalChangedIsNullMaXepLoaiTongKet=true;
		private bool _IsNullMaXepLoaiTongKet=true;
		private bool _InternalChangedIsNullThangDanhGia_ID=true;
		private bool _IsNullThangDanhGia_ID=true;
		private bool _InternalChangedIsNullTuDiem=true;
		private bool _IsNullTuDiem=true;
		private bool _InternalChangedIsNullDenDiem=true;
		private bool _IsNullDenDiem=true;
		private bool _InternalChangedIsNullIsBangCanTren=true;
		private bool _IsNullIsBangCanTren=true;
		private bool _InternalChangedIsNullIsBangCanDuoi=true;
		private bool _IsNullIsBangCanDuoi=true;
		private bool _IsNullOldMaXepLoaiTongKet=true;
		private bool _IsNullOldThangDanhGia_ID=true;
		private string _MaXepLoaiTongKet;
		private int _ThangDanhGia_ID;
		private Decimal _TuDiem;
		private Decimal _DenDiem;
		private bool _IsBangCanTren;
		private bool _IsBangCanDuoi;
		private string _OldMaXepLoaiTongKet;
		private int _OldThangDanhGia_ID;
		[DataMember]
		public bool IsNullMaXepLoaiTongKet{
			get{return _IsNullMaXepLoaiTongKet;}
			set{if(!_InternalChangedIsNullMaXepLoaiTongKet)_IsNullMaXepLoaiTongKet=value;}
		}
		[DataMember]
		public bool IsNullThangDanhGia_ID{
			get{return _IsNullThangDanhGia_ID;}
			set{if(!_InternalChangedIsNullThangDanhGia_ID)_IsNullThangDanhGia_ID=value;}
		}
		[DataMember]
		public bool IsNullTuDiem{
			get{return _IsNullTuDiem;}
			set{if(!_InternalChangedIsNullTuDiem)_IsNullTuDiem=value;}
		}
		[DataMember]
		public bool IsNullDenDiem{
			get{return _IsNullDenDiem;}
			set{if(!_InternalChangedIsNullDenDiem)_IsNullDenDiem=value;}
		}
		[DataMember]
		public bool IsNullIsBangCanTren{
			get{return _IsNullIsBangCanTren;}
			set{if(!_InternalChangedIsNullIsBangCanTren)_IsNullIsBangCanTren=value;}
		}
		[DataMember]
		public bool IsNullIsBangCanDuoi{
			get{return _IsNullIsBangCanDuoi;}
			set{if(!_InternalChangedIsNullIsBangCanDuoi)_IsNullIsBangCanDuoi=value;}
		}
		[DataMember]
		public bool IsNullOldMaXepLoaiTongKet{
			get{return _IsNullOldMaXepLoaiTongKet;}
			set{_IsNullOldMaXepLoaiTongKet=value;}
		}
		[DataMember]
		public bool IsNullOldThangDanhGia_ID{
			get{return _IsNullOldThangDanhGia_ID;}
			set{_IsNullOldThangDanhGia_ID=value;}
		}
		[DataMember]
		public string MaXepLoaiTongKet{
			get{return _MaXepLoaiTongKet;}
			set{
				_MaXepLoaiTongKet=value;
				if(_MaXepLoaiTongKet!=null){
					_IsNullMaXepLoaiTongKet=false;
					_InternalChangedIsNullMaXepLoaiTongKet=true;
				}
			}
		}
		[DataMember]
		public int ThangDanhGia_ID{
			get{return _ThangDanhGia_ID;}
			set{
				_ThangDanhGia_ID=value;
				if(_ThangDanhGia_ID!=null){
					_IsNullThangDanhGia_ID=false;
					_InternalChangedIsNullThangDanhGia_ID=true;
				}
			}
		}
		[DataMember]
		public Decimal TuDiem{
			get{return _TuDiem;}
			set{
				_TuDiem=value;
				if(_TuDiem!=null){
					_IsNullTuDiem=false;
					_InternalChangedIsNullTuDiem=true;
				}
			}
		}
		[DataMember]
		public Decimal DenDiem{
			get{return _DenDiem;}
			set{
				_DenDiem=value;
				if(_DenDiem!=null){
					_IsNullDenDiem=false;
					_InternalChangedIsNullDenDiem=true;
				}
			}
		}
		[DataMember]
		public bool IsBangCanTren{
			get{return _IsBangCanTren;}
			set{
				_IsBangCanTren=value;
				if(_IsBangCanTren!=null){
					_IsNullIsBangCanTren=false;
					_InternalChangedIsNullIsBangCanTren=true;
				}
			}
		}
		[DataMember]
		public bool IsBangCanDuoi{
			get{return _IsBangCanDuoi;}
			set{
				_IsBangCanDuoi=value;
				if(_IsBangCanDuoi!=null){
					_IsNullIsBangCanDuoi=false;
					_InternalChangedIsNullIsBangCanDuoi=true;
				}
			}
		}
		[DataMember]
		public string OldMaXepLoaiTongKet{
			get{return _OldMaXepLoaiTongKet;}
			set{
				_OldMaXepLoaiTongKet=value;
				IsNullOldMaXepLoaiTongKet=false;
			}
		}
		[DataMember]
		public int OldThangDanhGia_ID{
			get{return _OldThangDanhGia_ID;}
			set{
				_OldThangDanhGia_ID=value;
				IsNullOldThangDanhGia_ID=false;
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END XepLoaiTongKetEntityBase*****************************************/
	/*****************************************************************************************************/
}

